package utils;

import org.testng.Assert;

public class AssertUtil {
        public static void commonAssert(ResponseData responseData,int code
        ,String description,int status){
            Assert.assertEquals(responseData.getStatusCode(), code);
            Assert.assertEquals(responseData.getBody().getString("description"), description);
            Assert.assertEquals(responseData.getBody().getIntValue("status"), status);
        }

}
